Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(streams): improve Buffer test #5061

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jun 17, 2024

This PR adds test cases for Buffer class of std/streams, and also removes one dead if-block.

This PR improves the line coverage of Buffer class from 72.54% to 100%.

@kt3k kt3k requested a review from crowlKats as a code owner June 17, 2024 09:19
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.91%. Comparing base (7867a60) to head (265ba71).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5061      +/-   ##
==========================================
- Coverage   92.22%   91.91%   -0.31%     
==========================================
  Files         487      487              
  Lines       38857    38854       -3     
  Branches     5444     5417      -27     
==========================================
- Hits        35836    35714     -122     
- Misses       2966     3083     +117     
- Partials       55       57       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kt3k kt3k merged commit f92bfe9 into denoland:main Jun 17, 2024
12 checks passed
@kt3k kt3k deleted the improve-streams-buffer-test-coverage branch June 17, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants